import React from 'react';
import Button from './button'
import PropTypes from 'prop-types'
class H1 extends React.Component {
    static contextTypes = {
      theme:PropTypes.string
    }
    render() {
      console.log(this.context)
        return <div className=''>
            当前是一个H1组件
            <Button>哈哈</Button>
        </div>;
    }
}
export default H1